/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.martinkrasa.golftourweb.site.entity;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author martin.krasa
 */
public class TournamentType {
    
    private long id;
    private String name;
    private double nettoCoeficient;
    private double bruttoCoeficient;
    private Set<Tournament> tournaments = new HashSet<>();

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getNettoCoeficient() {
        return nettoCoeficient;
    }

    public void setNettoCoeficient(double nettoCoeficient) {
        this.nettoCoeficient = nettoCoeficient;
    }

    public double getBruttoCoeficient() {
        return bruttoCoeficient;
    }

    public void setBruttoCoeficient(double bruttoCoeficient) {
        this.bruttoCoeficient = bruttoCoeficient;
    }

    public Set<Tournament> getTournaments() {
        return tournaments;
    }

    public void setTournaments(Set<Tournament> tournaments) {
        this.tournaments = tournaments;
    }
    
}
